<div  class="am-u-sm-12 widget" style="margin:10px ;">
	<div class="am-u-sm-12">
		<form class="am-form tpl-form-border-form tpl-form-border-br">
			<div class="am-form-group am-u-sm-2">
				<input type="text" class="tpl-form-input" name="name" placeholder="司机姓名/电话">
			</div>
			<div class="am-u-sm-4">
				<div class=" am-u-sm-6 cl-p">
					<div class=" am-u-sm-11 cl-p am-fr">
					<input type="text" class="am-form-field tpl-form-no-bg" name="begin_time" placeholder="开始时间" data-am-datepicker="" readonly="">
					</div>
				</div>
				<div class=" am-u-sm-6 cl-p">
					<div class=" am-u-sm-1 cl-p" style="text-align: center;">
						-
					</div>
					<div class=" am-u-sm-11 cl-p">
					<input type="text" class="am-form-field tpl-form-no-bg" name="end_time"  placeholder="结束时间" data-am-datepicker="" readonly="">
					</div>
				</div>
				
				
			</div>
			<div class="am-form-group am-u-sm-6">
				<button type="button" class="am-btn am-btn-sm am-btn-primary am-radius" style="margin-top: -2px;">查询</button>
			</div>

		</form>
	</div>
	<div style="padding: 10px;" class="am-u-sm-12">

		<div class="am-tabs" data-am-tabs>
			<ul class="am-tabs-nav am-nav am-nav-tabs">
				<li class="am-active">
					<a href="#tab1">投诉订单</a>
				</li>
				<li>
					<a href="#tab2">低分评价</a>
				</li>
			</ul>

			<div class="am-tabs-bd" style="border: 0;">
				<div class="am-tab-panel am-fade am-in am-active" id="tab1">
					<div><button style="float: right;" type="button" class="am-btn am-btn-default am-radius am-btn-xs" style="margin-top: -2px;">导出文件</button></div>
					<table width="100%" class="am-table am-table-compact am-text-nowrap tpl-table-black ">
						<thead>
							<tr>
								<th>订单号</th>
								<th>司机姓名</th>
								<th>司机电话</th>
								<th>投诉时间</th>
								<th>来源</th>
								<th>内容</th>
								<th>处理人</th>
								<th>处理状态</th>
								<th>操作</th>
							</tr>
						</thead>
						<tbody>
							{foreach $list as $key => $item}
							<tr data-id="{$item.complaint_id}">
								<td><a href="/admin/order/details">{$item.order_id}</a></td>
								<td><a href="/admin/driver/details">{$item.name}</a></td>
								<td>{$item.phone}</td>
								<td>{$item.complaint_time}</td>
								<td>{$item.source}</td>
								<td>{$item.complaint_desc}</td>
								<td>{$item.handler}</td>
								<td>{$item.handle_state}</td> 
								<td>
									<div class="tpl-table-black-operation">
										<a href="javascript:;">
											<i class="am-icon-pencil"></i> 处理
										</a>
									</div>
								</td> 

							</tr>
							{/foreach}
							<!-- more data -->
						</tbody>
					</table>
					<div class="am-u-lg-12 am-cf">

						<div class="am-fr">
							{$pager}
						</div>
					</div>
				</div>
				<div class="am-tab-panel am-fade" id="tab2">
					<div><button style="float: right;" type="button" class="am-btn am-btn-default am-radius am-btn-xs" style="margin-top: -2px;">导出文件</button></div>
					<table width="100%" class="am-table am-table-compact am-text-nowrap tpl-table-black " >
						<thead>
							<tr>
								<th>订单号</th>
								<th>司机姓名</th>
								<th>司机电话</th>
								<th>评价时间</th>
								<th>评分</th>
								<th>内容</th>
								<th>操作</th>
							</tr>
						</thead>
						<tbody>
							{foreach $list as $key => $item}
							<tr >
								<td><a href="/admin/order/details">{$item.order_no}</a></td>
								<td><a href="/admin/driver/details">{$item.name}</a></td>
								<td>{$item.phone}</td>
								<td>{$item.evaluate_time}</td>
								<td>{$item.star}</td>
								<td>{$item.evaluate}</td>
								<td>
									<div class="tpl-table-black-operation">
									<a href="javascript:;">
										<i class="am-icon-pencil"></i> 处理
									</a>
									</div>
								</td>

							</tr>
							{/foreach}
							<!-- more data -->
						</tbody>
					</table>
					<div class="am-u-lg-12 am-cf">

						<div class="am-fr">
							{$pager}
						</div>
					</div>
				</div>
			</div>
		</div>

	</div>

</div>